home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / comp-sys-sun-faq < prev    next >
Encoding:
Internet Message Format  |  1994-04-25  |  76.4 KB

  1. Subject: FAQ: Sun Computer Administration Frequently Asked Questions
  2. Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc,comp.unix.solaris,comp.answers,news.answers
  3. From: montjoy@thor.ece.uc.edu (Rob Montjoy)
  4. Date: 25 Apr 94 01:24:54 GMT
  5.  
  6. Archive-name: comp-sys-sun-faq
  7. Last-modified: 1994/3/1
  8. Version: 1.9.1
  9.  
  10. Frequently Asked Questions for Comp.sys.sun.admin
  11.  
  12. Last update March 1 1994
  13.  
  14. This is a collection of common questions posted to the comp.sys.sun.*
  15. hierarchy.
  16.  
  17. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  18. the Subject as Sun FAQ.
  19.  
  20. This FAQ is available from thor.ece.uc.edu(129.137.8.118)
  21. in the /pub/sun-faq. Get the file sun-faq.general. The sun-faq
  22. directory is also available from gopher.ece.uc.edu(129.137.8.118).
  23.  
  24. Important Notice:
  25.     This is the Last version of this FAQ in its present form. This
  26.     FAQ will be divided into several sections and be converted to
  27.     allow newsreaders to go between subjects. 
  28.  
  29.     This would be a good time to add any of your favorite questions.
  30.     Just mail them to the usual address. 
  31.  
  32.     Also, someone has volunteered to maintain this FAQ in 
  33.     HTML form(World Wide Web) and this FAQ will be made available
  34.     through the Web Server at ra.ece.uc.edu and at least one
  35.     more.
  36.  
  37.     If anyone has any source code(Sun Specific) for Solaris2.x or
  38.     SunOS4.1.x that you want to add the source archive available
  39.     on thor. Should we offer pre-compiled binaries for Solaris2.x?
  40.  
  41.     Finally, at the same time the thor anon ftp and thor gopher
  42.     servers will be overhauled. Let me know if you want anything
  43.     included on the gopher or anon ftp servers.
  44.  
  45. Notes:    As of this writing almost all of these questions apply
  46.           to SunOS versions up to 4.1.3. SunOS 5.x questions
  47.           will start appearing gradually as more people start
  48.           installing SunOS 5.x(Solaris 2.x). 
  49.  
  50.     I am looking for suggestions on how to split this FAQ into
  51.     sections. These sections should follow the comp.sys.sun.* 
  52.     newsgroups(app, hardware, admin, misc, and wanted) and
  53.     section on bettering Sun Security. Basically, what
  54.     will end up with is a FAQ on each subject. Each
  55.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  56.     and a section common to both.
  57.  
  58.     I will probably need some volunteers to help coordinate
  59.     this undertakeing.. Send suggestion to the usual address.
  60.  
  61.  
  62. This article includes answers to the following questions, which are loosely
  63. grouped into categories. Questions marked with a '+' indicate questions
  64. new to this issue; those with significant changes of content since the 
  65. last issue are marked by '!'.
  66.  
  67.  
  68.                 Questions
  69.  
  70.  1)       How to get DNS working when not running NIS ?
  71.  2)     How to get DNS to be used when running NIS ?
  72.  3)     How to properly setup NFS mounting of /var/spool/mail ?
  73.  4)       Can I use AnswerBook under X11R5?
  74.  5)!    What does "NFS write error X" mean?
  75.  6)     How do I find the amount of memory installed or other
  76.     system configuration information?
  77.  7)     Where can I get a version of ftp that does logging?
  78.  8)!       Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  79.  9)!      How to setup Openwindows Calendar Manager in a distributed
  80.     environment?
  81. 10)      Why does the talk command fail between SunOS
  82.     and any other manufacturer's equipment(like DEC)? 
  83. 11)      How do I setup "anonymous" ftp?
  84. 12)     How come yppasswdd does not automatically update the yp maps?
  85. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  86. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  87. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  88.         model?
  89. 16)     How can I turn my Sun3 into an X-Terminal?
  90. 17)    Why is my console login prompt garbled or in some strange 
  91.     alphabet after upgrading to 4.1.3?
  92. 18)      Why are the "random" missing services at boot time(even
  93.     though the services are in the /etc/services file or NIS map)?
  94. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  95.     a reasonable price)?
  96. 20)       What is "archie"?
  97. 21)     How do I synchronize time between several Suns?
  98. 22)      What is the phone number for Sun Express and other numbers of importance
  99.     to Sun Users? 
  100. 23)     How do I join sun related  mailing lists?
  101. 24)    How do I use Mac floppies in a SUN drive?
  102. 25)!    How can I transfer floppies back and forth between MS-DOS and Sparc?
  103. 26)    Why is my biff not "biffing" when using biff in a networked
  104.     environment?
  105. 27)    How do I disable L1-A(STOP-A) or re-map it?
  106. 28)      Why are all the local users "unknown" when using sendmail under 4.1.2?
  107. 29)     What are the dump parameters for an exabyte 8200 or 8500?
  108. 30)     What are the guidelines for setting up swap space ?
  109. 31)    What are the general guidelines for maxusers to be set to on machine X?
  110. 32)    What does "zsN: silo overflow" mean?
  111. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  112.     signify?
  113. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  114. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  115.     connection to some non-Sun machine; it won't log in.  What's wrong?
  116. 36)     Do the Sun serial ports support RTS/CTS flow control?
  117. 37)    How do I specify that a serial port should, or should not, ignore the
  118.     state of the Carrier Detect line?
  119. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  120.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  121. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  122.     Control, and Esc keys inconvenient.  How do I remedy this?
  123. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  124.     Caps Lock and Control keys on a Type 5 keyboard?
  125. 41)       My Sun doesn't have an ANSI C compiler.  How can I get one?
  126. 42)      How do I change the time zone setting on my machine?
  127. 43)    I'm getting messages that say one of the following:
  128.          proc: table is full    and/or
  129.             file: table is full    and/or
  130.             dquot: table is full     and/or
  131.             inode: table is full
  132.          What do these errors mean, and how do I fix the problem?
  133. 44)      Blank at present.
  134. 45)      How do I run X11R5 applications under Openwindows or Openwindows 
  135.     applications under X11R5?
  136. 46)      Where do I find a "restricted" shell for SunOS?
  137. 47)       Will SunOS 4.1.x binaries run under SunOS 5.x?
  138. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  139.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  140.     _get_applicationShellWidgetClass). What is the Problem?
  141. 49)       What is Solaris?
  142. 50)     What does the "nres_gethostbyaddr !=" error mean?
  143. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  144.         how do I repair it?
  145. 52)     After rebuilding the shared library libc it get some or all the 
  146.     following undefined symbols: dlsym, dlopen, dlclose mbstowcs_xccs,
  147.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  148. 53)     What does "No network locking on host" mean after upgrading to
  149.     Solaris 2.0?
  150. 54)     Does Password Aging work with NIS(YP) ?
  151. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  152. 56)    How do I join the Sun User Group(SUG)?
  153. 57)!      How do I increase the number of "pseudo" terminals(ptys) ?
  154. 58)      Where are dump and restore under Solaris 2.x?
  155. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  156. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  157.     under Openwindows 3.0?
  158. 61)        Which Sun models run which versions of SunOS?
  159. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  160. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  161. 64)     How do I setup DNS on Solaris2.x?
  162. 65)       Can a SPARCclassic or LX run SunOS 4.1.3?
  163. 66)     I just restored my root partation and now I can not boot. What
  164.     is wrong?
  165. 67)     How do I disable/enable packet forwarding?
  166. 68)      How do I disable the printing of banners pages?
  167. 69)     How do I change my hostname?
  168. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  169. 71)     Where can I get the BSD print spooler for Solaris2.x?     
  170. 72)     Where is the Solaris2.x screenblank?
  171. 73)!     Is there a command to display the configuration of 
  172.     currentily attached SCSI devices?
  173. 74)+    My printer will not print large files(over 1-megabyte), I 
  174.     keep getting "file to big" errors. What do I do?
  175. 75)+    I keep getting "data corruption" when using NFS over a wan,
  176.     or slip/ppp link. What do I do? 
  177. 76)+    Does anybody know how to enable UDP checksum on NFS?
  178. 77)+    Is there a mailing list for Wabi?
  179.  
  180.  
  181.  
  182.                 Answers
  183.  
  184.  1)     How to get DNS working when not running NIS ?
  185.  
  186.     Note: Solaris2.x users should see question 64..
  187.     
  188.         The "normal" behavior of a hostname lookup under NIS is to
  189.         consult the NIS hosts map and then DNS (if configured). If
  190.     you are not running NIS the system will only look in 
  191.     the /etc/hosts file. 
  192.  
  193.     You have two options to correct this situation:
  194.  
  195.         A) Re-build the shared library version of libc with replacement
  196.            resolver routines which understand DNS. Resolv+ provides one
  197.                of the best sets of replacement routines and it cames with
  198.            detailed instructions. Also, it will take of fixing the
  199.            many problems with the normal Sun shared library rebuild.
  200.            Finally, resolv+ can be obtained from thor.ece.uc.edu.
  201.            Get the file /pub/sun-faq/resolv+2.1.1.tar.Z.
  202.  
  203.            Rebuilding the shared library will not allow  statically
  204.            linked binaries to do name resolving and these binaries
  205.            will only use /etc/hosts. You can get "dynamically linked"
  206.            replacements for these via anonymous ftp to 
  207.            thor.ece.uc.edu(129.137.8.118) and get the file
  208.                /pub/sun-faq/rcp-mount.dynamic.tar.Z.
  209.            This file only contains sun4 binaries.
  210.             
  211.            To be able to rebuild shared libraries you need to 
  212.            install the "shlib custom" option which is avaiable
  213.            with SunOS version 4.1 or greater. 
  214.  
  215.            If you want to do it under 4.0.3 you need to get the
  216.            patches available from ftp.uu.net(192.48.96.9) in the
  217.            /systems/sun/sun-fixes directory. You will need the following
  218.            files: 
  219.             lib.msg, libc_pic.a.sun3 or libc_pic.a.sun4 and
  220.             libc_resolv.so.sun3 or libc_resolv.so.sun4
  221.  
  222.            Make sure to get the README that cames with these files.
  223.            It is in the same directory.
  224.            
  225.                Note: You can still use NIS for other things in environment,
  226.                            such as passwd, and group maps.
  227.  
  228.         B) Run NIS with the "hosts" maps only. If you 
  229.            only need DNS capability than change the "all"
  230.            line /var/yp/Makefile to "all:  hosts".  
  231.  
  232.            It does not require any changes to shared libraries.
  233.         
  234.            See question 2 for complete directoins on how to setup
  235.            DNS with NIS.
  236.  
  237.  2)     How to get DNS to be used when running NIS ?
  238.  
  239.     First setup the appropriate /etc/resolv.conf file.
  240.     Something like this should do the "trick". 
  241.  
  242.     ;
  243.     ; Data file for a client.
  244.     ;
  245.     domain        local domain 
  246.     nameserver    address of primary domain nameserver
  247.     nameserver    address of secondary domain nameserver 
  248.  
  249.     where:    "local domain" is the domain part of the hostnames.
  250.          For example, if your hostname is "thor.ece.uc.edu"
  251.          your "local domain" is "ece.uc.edu".
  252.  
  253.     You will need to put a copy of this resolv.conf on
  254.     all NIS(YP) servers including slaves.
  255.  
  256.     Under SunOS 4.1 and greater, change the "B=" at the top
  257.     of the /var/yp/Makefile to "B=-b" and setup NIS in the 
  258.     usual fashion.   
  259.  
  260.     You will need reboot or restart ypserv for these changes
  261.     to take affect.
  262.  
  263.     Under 4.0.x, edit the Makefile or apply the following "diff":
  264.  
  265. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  266. --- Makefile    Wed Jan 10 13:22:01 1990
  267. ***************
  268. *** 63 ****
  269. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  270. --- 63 ----
  271. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  272. ***************
  273. *** 66 ****
  274. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  275. --- 66 ----
  276. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  277.  
  278.  
  279.  
  280.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  281.  
  282.     On the Client machines:
  283.  
  284.         A) mount /var/spool/mail with the no attribute caching
  285.            option.
  286.         
  287.            An example, fstab line would be the following:
  288.  
  289.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  290.  
  291.         B) Use a sendmail.cf that forces all mail to be delivered
  292.            by the mailhost. 
  293.  
  294.            One such file is available via anonymous ftp to 
  295.            thor.ece.uc.edu. Get the file 
  296.  
  297.                 /pub/sun-faq/sendmail.client.cf
  298.  
  299.            Do not use the OR option that Sun provides. It is broken
  300.            in many ways.
  301.  
  302.     On the server machine:
  303.     
  304.         A) Setup DNS MX records pointing to the mailhost for
  305.            all client machines.
  306.  
  307.         B) Edit the /etc/exports file to export /var/spool/mail
  308.            to the mail client machines. You may want
  309.            to use a netgroup for this purpose.
  310.  
  311.         C) Setup the /etc/sendmail.cf on the server recognize
  312.            that mail to/from a client is "local".
  313.  
  314.            One such file is available via anonymous ftp to 
  315.            thor.ece.uc.edu. Get the file 
  316.  
  317.                 /pub/sun-faq/sendmail.server.cf
  318.         
  319.     Note:     You may want to install Berkeley sendmail instead of Suns
  320.         stock sendmail. 
  321.  
  322.  
  323.  
  324.  4)     Can I use AnswerBook under X11R5?
  325.  
  326.     AnswerBook in its current form requires the Openwindows
  327.     server. It uses the NeWS extensions(Postscript) extensions
  328.     to this server to display the Answerbook files.
  329.  
  330.     To use AnswerBook under X11R5 you will need to replace the 
  331.     docviewer program with xdocviewer.  Xdocviewer does not support
  332.     all the options that the "real" docviewer supports such
  333.     as "hypertext" links.
  334.  
  335.     To install "xdocviewer" you will need the following programs.
  336.  
  337.         Perl-4 patchlevel 35  
  338.         Ghostscript 2.4 or above
  339.         GSpreview 2.1   or above  or Ghostview 1.3   or above
  340.  
  341.         All of these are available from prep.ai.mit.edu. They are 
  342.         located in the /pub/gnu directory.
  343.  
  344.         Finally, you need xdocviewer. It is available from the
  345.         /contrib directory on host ftp.x.org.
  346.  
  347.  
  348.  5)     What does "NFS write error X" mean?
  349.  
  350.         You can lookup the error codes in /usr/include/sys/errno.h.
  351.  
  352.         Two common NFS error codes are 13 - "permission denied" and 70 -
  353.         "stale file handle".
  354.  
  355.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  356.     it can occur because someone has changed the /etc/exports
  357.     entry to disallow the client after the client has already
  358.     been granted permission to perform this operation.
  359.  
  360.         Error code 70 occurs when the file handle on the
  361.     NFS server changes for a particular filesystem.
  362.     The "file handle" can be changed under the following
  363.     circumstances:
  364.         
  365.         A) Installing a new drive in place of an old.
  366.  
  367.         B) Moving a filesystem from one devices to
  368.            another.
  369.  
  370.         C) Performing a format, newfs, dump, and restore
  371.            cycle. Even if to the same device.
  372.  
  373.         D) Unmounting a file system without remounting it.
  374.  
  375.         E) Unmounting a High Sierra/ISO 9660 CD-ROM and
  376.                mounting a different CD.
  377.  
  378.         You can usually get rid of the error by unmounting and
  379.         remounting the filesystem in question. 
  380.  
  381.     Also, error code 70 can occur when someone removes a file 
  382.     that a process is actively writing from a NFS client machine.
  383.  
  384.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  385.         "file handle" given in the error message into a Unix pathname.
  386.         Beware that showfhd does a "find" on your server to get the
  387.         filename.  "man 2 intro" will give you some more general
  388.         information on what error codes could mean.
  389.  
  390.     You will need a patch to get "showfh" to work correctly. The patch
  391.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  392.     This patch has been integrated into 4.1.3.
  393.  
  394.  6)    How do I find the amount of memory installed or other
  395.     system configuration information?
  396.  
  397.     You can use the "devinfo" command to find out genera information 
  398.     about the hardware attached to your Sun. The "devinfo" command is 
  399.         only available on desktop SPARCsystems, SPARCengine 1E(although not
  400.         in the version used in Auspex systems), or 600MP series server only.
  401.  
  402.     Also, most clones should support devinfo.  Any machine that has an 
  403.     SBus will probably support "devinfo"; any machine that doesn't have an
  404.     SBus probably won't support "devinfo".
  405.     
  406.     The "best" command for the job is "sysinfo". Sysinfo is public
  407.     domain utility available via "anonymous" ftp on usc.edu in directory
  408.     /pub/sysinfo. Sysinfo works on all Sun architectures(inculding Sun-3s)
  409.         as well as many other UNIX boxes such as Ultrix, and Next. Also,
  410.     it works on SunOS5.x machines.
  411.  
  412.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  413.                the like will *not* give the correct answer on machines 
  414.            where physical memory is not contiguous, such as many Suns.
  415.  
  416.  
  417.  7)     Where can I get a version of ftp that does logging?
  418.  
  419.     Get the wuarchive ftp daemon. It is available from
  420.         wuarchive.wustl.edu (128.252.135.4) in the directory
  421.         /packages/wuarchive-ftpd
  422.  
  423.     A version of the wuarchive ftpd daemon that compiles right out
  424.     of the box for Solaris2.x machines can be had from
  425.     thor.ece.uc.edu(129.137.8.118) in the /pub/sun-faq directory.
  426.     Remember to specify your own paths in the src/pathnames.h file.
  427.  
  428.     The stock Sun ftpd will log some information if you add the "-l"
  429.            flag in /etc/inetd.conf:
  430.  
  431.             ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  432.  
  433.         Also enable syslogd by adding:
  434.  
  435.         daemon.info      /var/adm/syslog
  436.  
  437.         to "/etc/syslog.conf".
  438.  
  439.  
  440.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  441.  
  442.         Many anonymous ftp sites have partial collections of patches.
  443.         These sites include the following:
  444.  
  445.                 ftp.uu.net:/systems/sun/sun-dist/
  446.         ftp.EU.net:/sun/fixes/
  447.             sunline.epfl.ch:/pub/sun-patches/
  448.         ftp.ucs.ubc.ca:/pub/ubc/sun-patches/
  449.         thor.ece.uc.edu:/pub/sun-faq/SunOS4.1.x.Patches
  450.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.1-patches
  451.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.2-patches
  452.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.3-patches
  453.  
  454.     Note: You should always attempt to find a local site before
  455.           using the above.
  456.  
  457.     ftp.uu.net and ftp.EU.net are  the "official" distribution points 
  458.     for SunOS security patches.
  459.  
  460.         Also, you should use "archie" to look for specific patches.
  461.  
  462.         Finally, the Sun User Group (SUG) CD ROM has a collection of Sun
  463.         patches.
  464.  
  465.  
  466.  9)    How to setup Openwindows Calendar Manager in a distributed
  467.     environment?
  468.  
  469.     Sun's original assumption that each user has a permanent machine 
  470.     allocated to them is not applicable in most environments. Just as 
  471.     users send mail to 'user' rather than 'user@machine', users want 
  472.     to browse others user's calendars and do not care or want to know
  473.     where the calendar is actually stored.
  474.  
  475.     Here is procedure to accomplish our goal. All calendars
  476.     will be stored on a central server. The initial setup
  477.     must be done on the server.
  478.  
  479.         A) Have the user login to the calendar host(calhost)
  480.            machine.
  481.         
  482.         B) Change everyone's .cm.rc file so that 
  483.            Calendar.DefaultCal points to user@calhost
  484.  
  485.            calhost can be an hostname alias or an actual
  486.            hostname. You may want to use the alias
  487.            just in case you change the "calhost" later.
  488.     
  489.         C) Change their Access List and Permissions (under
  490.                Edit/Properties) to show user@client with BID (browse,
  491.                insert, delete) permissions for any client machine the
  492.            user wanted to access their calendar from.
  493.  
  494.     Notes: If you use the scheme you should not NFS mount 
  495.            /var/spool/calendar on the client machines.
  496.  
  497.     or
  498.  
  499.     You can install the "Proxy OpenWindows Calendar Manager", which
  500.     is available via anonymous FTP from thor.ece.uc.edu in
  501.     /pub/sun-faq/proxy-cmsd.tar.Z.
  502.  
  503.     or
  504.     
  505.     You can install the "new cm daemon" which allows you to access
  506.     several Calendar hosts at once. It implements the "orignal"
  507.     rpc.cmsd daemon semantics(unlike proxy-cmsd) and thus all
  508.     the features(of CM) will work as documented.  You can the source
  509.     for this daemon via anonymous FTP from thor.ece.uc.edu as the file
  510.     /pub/sun-faq/newcm_d-1.1.tar.Z
  511.  
  512.     As of this writing newcm is being ported to Solaris2.x.
  513.  
  514. 10)     Why does the talk command fail between SunOS
  515.     and any other manufacturer's equipment(like DEC)? 
  516.  
  517.     SunOS has the old BSD 4.2 version of talk. The old talk
  518.     uses "machine dependent" byte ordering. Since
  519.     DEC has different byte order the two talks can not
  520.     communicate(even if you use "otalk" on the DEC
  521.     machines).
  522.     
  523.     Also, most vendors have the newer version of 
  524.     talk from BSD-4.3 and this version is not compatible
  525.     with the Sun Version(which is BSD-4.2).
  526.  
  527.     The solution is to get and install the new version
  528.     of talk because it uses "network" byte ordering and
  529.     it is compatible with most Vendors current talk 
  530.     implementations.
  531.     
  532.     "New Talk" is available via anonymous ftp from several
  533.     sites including thor.ece.uc.edu. Get the file 
  534.     /pub/sun-faq/ntalk.tar.Z.   Solaris2.x users will need
  535.     to compile this in Berkeley compatability mode.
  536.     
  537.     Finally, a progrom called Ytalk can be used with either
  538.     "New talk" or "Old talk" and compiles on all versions
  539.      of SunOS(Greater than 4.x including 5.x).
  540.     Ytalk can be obtained from thor.ece.uc.edu. Get the file
  541.         /pub/sun-faq/ytalk-3.0.1.tar.gz
  542.  
  543. 11)    How do I setup "anonymous" ftp?
  544.     
  545.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  546.         the procedure differs from vanilla BSD and most examples in 
  547.         system administration books. 
  548.  
  549.     The "ls" binary is dynamically linked, requiring you to 
  550.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  551.     The permissions and ownership of the files within the 
  552.         ftp area are critical to having a secure configuration.
  553.     
  554.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  555.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  556.  
  557.     You can use a "statically" linked binary from the GNU
  558.     fileutils instead of the "dynamically" linked SunOS
  559.     version. You can get the GNU fileutils from prep.ai.mit.edu
  560.     in the directory /pub/gnu
  561.  
  562.     There is also a statically linked version of ls for Suns
  563.     running SunOS 4.1.x, available via anonymous ftp from
  564.     thor.ece.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  565.  
  566.     A complete procedure to setup anonymous under SunOS is
  567.     available via anonymous ftp to thor.ece.uc.edu. Get
  568.     the file /pub/sun-faq/anon-ftp.how-to.
  569.  
  570.     There is an _excellent_ script written by Peter N. Lewis
  571.     (peter.lewis@info.curtin.edu.au) for setting up anonymous ftp
  572.     located on thor.ece.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  573.  
  574. 12)     How come yppasswdd does not automatically update the yp maps?
  575.  
  576.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  577.         the command line arguments.  A work-around is to add the
  578.         "-nosingle" flag (which is the default), this shifts the
  579.         arguments over one, so "passwd" is read instead of "-m".
  580.     Also, you should use the complete path to rpc.yppasswdd
  581.  
  582.         For example:
  583.  
  584.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  585.  
  586.     Note: Only use the DIR=/var/yp if your source files for passwd, group,
  587.           etc are in /var/yp. If they are in /etc you do not need
  588.               to specify DIR=
  589.             
  590.         If you are running the C2 security package, you should apply
  591.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  592.     and rpc.pwdauthd. The patch number is
  593.  
  594.     100201-04 for SunOS 4.1 and 4.1.1
  595.     100564-06 for SunOS 4.1.2 and 4.1.3
  596.  
  597. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  598.  
  599.         You are probably running a pre-4.0 version of NFS and your
  600.         username is in more than 8 groups.  There is a limit on the
  601.         number of groups that could be represented in the rpc service
  602.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  603.         Since many vendors other than Sun are still running old versions
  604.         of NFS, you might see this error even if your SunOS is recent.
  605.  
  606.         Authentication errors are also caused by having secure RPC
  607.         enabled on the client but not on the server, or by having a
  608.         misconfigured secure RPC configuration for the user name
  609.         generating the errors.  Beware of this problem when you are
  610.         using the automounter, as programs (such as Sendmail) may
  611.         silently fail when when they try to mount a directory
  612.         and get this error.
  613.  
  614.  
  615. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  616.  
  617.     This the now infamous Quantum drive "stickation" problem.
  618.  
  619.     If the drive is allowed to cool down(even for a short period 
  620.     of time) the drive lubricant will congeal and prevent the disks
  621.     platters from rotating. 
  622.  
  623.     Before you get a replacement, try lightly tapping
  624.         the drive to loosen the lubricant. If this does not work try
  625.     shaking and twisting the drive at the same time. One last
  626.     thing to try is to lift the system up a couple of inches
  627.     and drop it.
  628.  
  629. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  630.         model?
  631.  
  632.         The higher capacity drives create more heat and draw more power than
  633.         the 105S.  The case cooling ability and power supply in the SS-1 and
  634.         SS-1+ are not adequate for the 210 megabyte or higher capacity drives
  635.         possible in the SS-2.
  636.  
  637. 16)     How can I turn my Sun3 into an X-Terminal?
  638.  
  639.         You can use Seth Robertson's Xkernel package.  It is available
  640.         via anonymous ftp from ftp.ctr.columbia.edu (128.59.64.40) in
  641.         /Xkernel.  The package describes how to configure a minimal kernel
  642.         that runs the X server and offloads all the clients onto another,
  643.         hopefully more powerful host on the network. 
  644.  
  645.     As of this writing the current version of Xkernel is 2.0 and
  646.     it should work on both SPARC and Sun3 platforms.
  647.  
  648.     Xkernel is attractive to some sites that have a large investment in 
  649.         sun3 platforms, as moving  most of the processing off the sun3 
  650.         cpu makes it tolerable to use.  
  651.  
  652.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  653.         you get a 19" monitor with an optical mouse.  
  654.  
  655.  
  656. 17)    Why is my console login prompt garbled or in some strange
  657.     alphabet after upgrading to 4.1.3?
  658.  
  659.         The problem is /etc/ttytab, with 4.1.3, the console is now
  660.     able to display 8 bits characters and getty must take this 
  661.     into account.
  662.  
  663.     The solution is easy, replace your console entry in /etc/ttytab 
  664.     by the following, the important part is 'cons8':
  665.  
  666.     console "/usr/etc/getty cons8"  sun             on local secure
  667.  
  668.     Also, if you did an upgrade(instead of a full install) you may 
  669.     need to add the following to your /etc/gettytab.
  670.  
  671.     # This is a new entry to internationalize the console.  It needs to be
  672.     # 8 bit clean so that ISO 8859 characters can be displayed without
  673.     # the window system.
  674.     #
  675.     cons8:\
  676.             :p8:lm=\r\n%h login\72 :sp#9600:
  677.  
  678.  
  679. 18)    Why are there "random" missing services at boot time(even
  680.     though the services are in the /etc/services file or NIS map)?
  681.  
  682.     The three primary causes for "random" missing services are
  683.     as follows:
  684.  
  685.         A) "Blank" lines in /etc/services on the YP/NIS Master.
  686.            Delete the blank line and remake the services map.
  687.  
  688.         B) NIS/YP server not responding quickly enough
  689.            to the "getservbyname" call because each getservbyname
  690.            call reads the whole map.  One fix is to replace the 
  691.            systems version of inetd with a version that re-tries the
  692.            "unknown" service.
  693.  
  694.            I have "hacked" a version of munetd(public domain
  695.            replacement for inetd) to do this. It is available
  696.            from thor.ece.uc.edu. Get the file /pub/sun-faq/munetd.tar.Z
  697.  
  698.            Another solution to this problem is outlined in part C below.
  699.  
  700.         C) Sun's implementation of the services map is incorrect. To
  701.                correct this problem you will need to replace some library
  702.            routines in libc and rebuild the shared library.
  703.            These routines and directions on installing them are
  704.            available from thor.ece.uc.edu.  Get the file 
  705.            /pub/sun-faq/getservent.tar.Z.
  706.  
  707.         D) Another fix(if you do not want to modify your libc's) is
  708.            to just remove the services map from NIS. However,
  709.            you will need to update the services file by hand on
  710.            all clients. We are running all NIS hosts this way and
  711.                it seems to work quite well.
  712.         
  713.  
  714. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  715.     reasonable price)?
  716.  
  717.     Here is an incomplete list of vendors how have "data certified"
  718.     tapes for the exabyte.
  719.  
  720.     Misco               800-876-1726   $12 - 15 each.    
  721.     TecBridge          800-972-7405   $12 - 15 each.
  722.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  723.     K and K Systems          612-475-1527     $10 Each
  724.     SCR              314-739-0808     $10.95 for Memorex
  725.  
  726. 20)    What is "archie"?
  727.  
  728.     Archie is a database of what is on several thousand anonymous 
  729.     ftp sites. 
  730.  
  731.     To use archie get one of the three archie clients which
  732.     are as follows:
  733.  
  734.         xarchie        -    For use under X11
  735.         c-archie    -     Curses version of Archie
  736.         archie        -     Perl Version of Archie
  737.     
  738.     Theses are available from archie.ans.net in the directory 
  739.     /pub/archie.
  740.  
  741.     List of other publicly available archie servers:
  742.  
  743.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  744.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  745.                                           in Lincoln)
  746.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  747.     archie.ans.net       147.225.1.2     (ANS archie server)
  748.     archie.au            139.130.4.6     (Australian server)
  749.     archie.funet.fi      128.214.6.100   (European server in Finland)
  750.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  751.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  752.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  753.     archie.th-darmstadt.de 130.83.128.111 (German server)
  754.  
  755.     
  756. 21)    How do I synchronize time on my Sun Network?
  757.  
  758.     You should use xntp version 3 to synchronize your time. Xntp 
  759.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  760.     xntp time should always be within a few "milliseconds" of the
  761.     actual time. Xntp does not require a "atomic" clock, any
  762.     stable UNIX host clock will do.
  763.  
  764.     xntp is available from udel.edu. Get the file /pub/ntp/xntp3.tar.Z
  765.  
  766.     xntp works with all versions of SunOS(4.x and 5.x).
  767.  
  768.     Note: There is a Mac version of XNTP now available.
  769.  
  770. 22)    What is the phone number for Sun Express and other numbers of importance
  771.     to Sun Users? 
  772.  
  773.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  774.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  775.  
  776.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  777.                             Santa Clara, CA 95054
  778.                             (800) 735-3177 or (408) 492-0900
  779.                                 Fax: (408) 492-0909
  780.     
  781.  
  782. 23)     How do I join sun related  mailing lists?
  783.  
  784.     Mailing Lists:
  785.  
  786.     Sun Managers:    Used for "emergency" information only. The
  787.             users of this list are "very" knowledgable.
  788.         sun-managers-request@eecs.nwu.edu    add requests
  789.         sun-managers@eecs.nwu.edu        submissions
  790.  
  791.         Sun-386i:   discussion about the Sun 386i product
  792.             sun-386i-request@ssg.com        add requests
  793.             sun-386i@ssg.com                    submissions
  794.  
  795.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  796.                         systems at home
  797.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  798.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  799.  
  800.         Auspex:  managers of Auspex NFS file servers
  801.             auspex-request@princeton.edu                    add requests
  802.             auspex@princeton.edu                            submissions
  803.  
  804.         Epoch:  managers of Epoch NFS file servers       
  805.             EPoch Users Forum  (EPUF)             
  806.             epuf-request@mcs.anl.gov                        add requests 
  807.             epuf@mcs.anl.gov                                submissions
  808.  
  809.     sun-flash: Provides articles about Sun products 
  810.            and services.
  811.  
  812.         Subscription request should be sent to
  813.             sunflash-request@sunvice.East.Sun.COM
  814.  
  815.  
  816.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  817.              send mail to the REQUEST address!  Do not send add requests 
  818.          to the main address!
  819.  
  820.  
  821. 24)    How do I use Mac floppies in a SUN drive?
  822.     
  823.     The easiest way is to use suntar on the Macintosh to
  824.     copy files to a "high density" floppy.  Then you can use 
  825.     "tar" on the Sun to get the files off the floppy.
  826.  
  827.     It is available from sumex-aim.stanford.edu. Get the file
  828.     /info-mac/util/suntar-131.hqx
  829.  
  830.     Also, you could use the Apple File Exchanger to translate
  831.     the files to MS-DOS format. Then use one of the methods
  832.     for transferring MS-DOS disks to Sun.
  833.  
  834.  
  835.     Note: There are  several commercial packages available for
  836.           this purpose.
  837.  
  838.           Also, low density Mac floppies are not comparable with
  839.           low density Sun floppies. 
  840.  
  841.  
  842. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  843.  
  844.     There are two packages which allow you to do this(mtools and mntdisk).
  845.     Both of these packages use the 3-1/2inch floppy drive available
  846.         on most SPARCstations. With the advent of the Volume manager
  847.     in Solaris2.2 these programs have been rendered somewhat obsolete.
  848.  
  849.     Mtools writes directly to the floppy device and it does not
  850.     require special privileges. It is faster than mntdisk
  851.     but it requires the user to learn a new set of commands.
  852.     A copy of mtools can be found on thor.ece.uc.edu. Get
  853.     the file  /pub/sun-faq/mtools-2.0.7.tar.Z
  854.  
  855.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  856.     mounted you can use regular UNIX commands(cp,mv,and rm)
  857.     to access it. The pcfs filesystem is quite slow compared
  858.     to using mtools above.  Mntdisk is available in your local 
  859.     comp.sources.misc archive, Volume 22, Issues 31-33. 
  860.     Mntdsk can be used to mount CD-ROMS and even UFS floppies.
  861.  
  862.     Note:    You should not use "setuid" shell scripts for
  863.         mounting floppies.
  864.  
  865.  
  866. 26)    Why is my biff not "biffing" when using biff in a networked
  867.     environment?
  868.  
  869.     In its current form comsat/biff are only usable on the mail
  870.     server. You need to replace them network capable programs.
  871.  
  872.     A shar file containing network capable versions of comsat
  873.     and biff is available from thor.ece.uc.edu. Get the
  874.     file /pub/sun-faq/biff-comsat.
  875.  
  876. 27)    How do I disable L1-A(STOP-A) or re-map it?
  877.  
  878.     You need to get one of the many re-mapping programs. Two
  879.     of these are available from thor.ece.uc.edu. Get the file
  880.     disable-L1-A.tar.Z
  881.  
  882. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  883.  
  884.     There is a known problem with sendmail and frozen config
  885.     files under 4.1.2.
  886.  
  887.     The fix is to remove /etc/sendmail.fc. Also, You could 
  888.     try moving it to the end of /etc/rc.local.
  889.     
  890.     However, the best "fix" may be to install the new Berkeley 
  891.     Sendmail it has a number of enhancements, performance
  892.     improvements, and security enhancements.
  893.     
  894.     You can get Berkeley sendmail from ftp.cs.berkeley.edu(128.32.149.78).
  895.     Get the following files: /ucb/sendmail/*8*6*4*
  896.                  /ucb/4bsd/db.tar.Z
  897.     Also, you will need bind 4.9 and it can be found on
  898.     gatekeeper.dec.com(16.1.0.2) in the /pub/BSD/bind/4.9
  899.     directory.
  900.  
  901.     Finally, if you do not want to build the Berkeley sendmail for
  902.     yourself I will be willing to mail you a copy.
  903.  
  904. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  905.  
  906.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    filesystem
  907.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   filesystem
  908.                           
  909.     Note: Under 4.1.2 and above you should use rst8. Previous
  910.           versions did not do anything special for the 8500.
  911.  
  912.     Note: These parameters are not needed for 5.1.x because
  913.           it computes these values from the type of Tape Drive
  914.           you are using. Also, 5.1.x knows about end of tape
  915.           and does the right thing when it reaches it.
  916.  
  917. 30)    What are the guidelines for setting up swap space ?
  918.  
  919.     In SunOS 4.x the amount of swap space and Virutal memory 
  920.     are one in the same so you need at least as much swap
  921.     as real memory.
  922.  
  923.     In SunOS 5.x the amount of Virutal memory is equal
  924.     swap space plus real memory. Under SunOS 5.x you
  925.     can actually get away with having no swap space at
  926.     all. We are running a SPARCserver 1000 with no swap
  927.     and 192-Meg of real memory.
  928.  
  929.     The old rule of thumb is 1.5 to 2 times real memory. This
  930.     can lead to wasted disk space(by having too much swap
  931.     space) or to not having enough. What you need to do
  932.     is to estimate your swap space needs.
  933.  
  934.     Note: This question is still being worked on.
  935.  
  936.  
  937. 31)    What are the general guidelines for maxusers to be set to on machine X?
  938.  
  939.     This question is being written.
  940.  
  941. 32)    What does "zsN: silo overflow" mean?
  942.  
  943.         The CPU serial ports - both ordinary serial ports A and B, and
  944.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  945.         chip.  That chip has a 3-character on-board buffer called the
  946.         "silo".  If a character arrives in the silo, the chip interrupts
  947.         the CPU at a high priority, and the interrupt service routine
  948.         reads the character out of the silo.
  949.  
  950.         If the interrupt isn't serviced in time, more than 3 characters
  951.         can be placed in the silo by the chip; if so, the chip notes
  952.         that the silo "overflowed", and the interrupt service routine,
  953.         when called, will note that a "silo overflow" occurred.
  954.  
  955.         If the machine is printing a message from the kernel, interrupts
  956.         from the chip will be held off; if the message takes long enough
  957.         to print, and characters are coming in quickly enough on the
  958.         serial port, more than 3 can arrive, and a "silo overflow" will
  959.         occur.
  960.  
  961.         It is possible that a machine that's sufficiently busy in other
  962.         code that runs with interrupts held off could get a silo
  963.         overflow as well.
  964.  
  965. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  966.     signify?
  967.  
  968.         The name "zsN" is ambiguous.
  969.  
  970.         In kernel "config" files, and in the boot-time autoconfig
  971.         messages, "zs0" is the first on-board Z8530 chip, the two
  972.         channels of which handle "ttya" and "ttyb", respectively, and
  973.         "zs1" is the second on-board Z8530 chip, the two channels of
  974.         which handle the keyboard and mouse ports, respectively.
  975.  
  976.         In "zsN: silo overflow" messages and the like:
  977.  
  978.                 "zs0" is the A channel on the first on-board Z8530, handling
  979.                     "ttya";
  980.  
  981.                 "zs1" is the B channel on the first on-board Z8530, handling
  982.                     "ttyb";
  983.  
  984.                 "zs2" is the A channel on the second on-board Z8530, handling
  985.                     the keyboard;
  986.  
  987.                 "zs3" is the B channel on the second on-board Z8530, handling
  988.                     the mouse.
  989.  
  990.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  991.         overflow" error is for "ttyb", not for the keyboard or mouse.
  992.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  993.         overflows are "zs3: silo overflow".
  994.  
  995.  
  996. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  997.  
  998.         You need to read Chapter 11 in  the "Systems and Network 
  999.     Administration" manual.
  1000.  
  1001.  
  1002. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  1003.     connection to some non-Sun machine; it won't log in.  What's wrong?
  1004.  
  1005.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  1006.         into another machine.  If the other machine is running in 8
  1007.         bits, no parity, mode, the fact that the 8th bit is set on some
  1008.         of the characters the Sun is sending to it will confuse it.
  1009.  
  1010.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  1011.         the appropriate place in the appropriate UUCP configuration file
  1012.         [I may have been the one to put P_ZERO there, but I forget the
  1013.         details; it's in the send-expect sequence in the Systems file
  1014.         entry for the machine, and I think you have an "expect" string
  1015.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  1016.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  1017.         "Systems and Network Administration" document to make sure.]
  1018.  
  1019.  
  1020. 36)    Do the Sun serial ports support RTS/CTS flow control?
  1021.  
  1022.         The serial port hardware can do CTS-based control of the flow of
  1023.         data *from* the Sun *out* the serial port automatically.  The
  1024.         tty driver option for that is the CRTSCTS option; it can be
  1025.         specified in:
  1026.  
  1027.                 the "printcap" "ms" capability for a printer;
  1028.  
  1029.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  1030.                 for a dial-in port;
  1031.  
  1032.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  1033.                 [check the UUCP documentation for details];
  1034.  
  1035.         and can be specified with the "hf" capability in "/etc/remote"
  1036.         for "tip".
  1037.  
  1038.         The hardware cannot directly do RTS-based control of the flow of
  1039.         data *into* the Sun, and the software does not currently support
  1040.         controlling the flow of data into the Sun with RTS.
  1041.  
  1042.         NOTE: the EEPROM options in newer Suns do not affect the flow
  1043.  
  1044.         control performed by the OS; in fact, the OS ignores the
  1045.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  1046.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  1047.         set them to change the way the OS handles the tty, and even if
  1048.         you do set them, it won't change the way the OS handles the tty.
  1049.  
  1050.     Sun has released a new jumbo tty patch 100513-04 for SunOS 4.1.2 
  1051.     and 4.1.3 that incorporates changes to the tty driver to
  1052.     support RTS/CTS handshaking. Anyone trying to get RTS/CTS
  1053.     handshaking to work should get this patch.
  1054.  
  1055.  
  1056. 37)    How do I specify that a serial port should, or should not, ignore the
  1057.     state of the Carrier Detect line?
  1058.  
  1059.         Prior to SunOS 4.1, you do so either by:
  1060.  
  1061.                 changing the "flags" field for the serial port device in the
  1062.                 kernel "config" file, re-running "config", rebuilding
  1063.                 the kernel, and rebooting with the new kernel;
  1064.  
  1065.         or, on the Sun-4c machines:
  1066.  
  1067.                 changing the setting of the "ttya-ignore-cd" or
  1068.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1069.                 the CPU serial ports.
  1070.  
  1071.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1072.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1073.         port in question to have the "local" attribute if CD is to be
  1074.         ignored, or not to have it if CD is not to be ignored, and
  1075.         running the "ttysoftcar" command to tell the kernel that the
  1076.         status of the "ignore CD" flag should be changed.
  1077.  
  1078.         In 4.1, there's no need to change the EEPROM setting to change
  1079.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1080.         the only reason why it'd be necessary.
  1081.  
  1082. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1083.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1084.  
  1085.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1086.         "vi", because that version of "vi" supports 8-bit character
  1087.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1088.         have to change the "terminfo" entry for the terminal.
  1089.  
  1090.         You may first have to convert the compiled "terminfo" entry to a
  1091.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1092.         the text of the "terminfo" entry for the terminal
  1093.         <terminal-type> to its standard output.
  1094.  
  1095.         If you already have a "termcap" entry, you can convert it to a
  1096.         "terminfo" entry with "/usr/5bin/captoinfo".
  1097.  
  1098.         A text "terminfo" entry must be recompiled in order for programs
  1099.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1100.  
  1101. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1102.     Control, and Esc keys inconvenient.  How do I remedy this?
  1103.  
  1104.         Well, one remedy may be to buy the "UNIX layout" version of the
  1105.         Type 5; this option seems, unfortunately, to be little-known to
  1106.         Sun customers, and Sun may not be promoting it as they should.
  1107.         That keyboard has a layout much more friendly to the traditional
  1108.         UNIX user than do the normal PC-style layouts for the Type 5.
  1109.  
  1110.         If you don't have that option, you can use the appropriate
  1111.         program to reprogram the keys; see the next question.
  1112.  
  1113. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1114.     Caps Lock and Control keys on a Type 5 keyboard?
  1115.  
  1116.         It depends on which window system you're running, if any.
  1117.  
  1118.         If you're not using any window system, or you're using a window
  1119.         system such as SunView that uses the OS's keyboard event
  1120.         translation mechanism, you can dump the tables used by the OS's
  1121.         keyboard event translation mechanism with the "dumpkeys"
  1122.         command, and load changes to that table with the "loadkeys"
  1123.         command; see LOADKEYS(1).
  1124.  
  1125.         If you're using X11 - either in its MIT incarnation, or Sun's
  1126.         Open Windows incarnation - or some other window system that
  1127.         shuts off the OS's keyboard event translation mechanism, you
  1128.         need to use the window system's commands, if any, for that
  1129.         function.
  1130.  
  1131.         In X11, the command for that is "xmodmap"; its translation
  1132.         tables can be printed with "xmodmap -pk", and changes to that
  1133.         table can be loaded with "xmodmap" as well.
  1134.  
  1135.         NOTE: in the particular case of the Control and Caps Lock keys,
  1136.         while MIT X appears to handle interchanging those two keys
  1137.         correctly, so that the new Caps Lock key is a toggle and the new
  1138.         Control key is not, some versions of Open Windows do not - even
  1139.         though the keys have had their mappings exchanged, the window
  1140.         system server still thinks that the *old* Caps Lock key, which
  1141.         is now the Control key, should be a toggle, and that the *old*
  1142.         Control key, which is now the Caps Lock key, should not be a
  1143.         toggle.
  1144.     [Here is a work-around for this problem, provided by Mark Plotnick
  1145.     (mp@allegra.att.COM)]:
  1146.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1147.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1148.     attributes field to N or P depending on whether the key should have 
  1149.     "pseudolock".
  1150.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1151.     78,79c78,79
  1152.     < lock  119                     # CapsLock
  1153.     < control        76                     # Control
  1154.     ---
  1155.     > lock   76                     # CapsLock
  1156.     > control       119                     # Control
  1157.     226c226
  1158.     < 76    NN      XK_Control_L
  1159.     ---
  1160.     > 76    NP      XK_Caps_Lock
  1161.     278c278
  1162.     < 119   NP      XK_Caps_Lock
  1163.     ---
  1164.     > 119   NN      XK_Control_L
  1165.  
  1166.  
  1167. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1168.  
  1169.         SunOS releases prior to 5.x come with a C compiler. However,
  1170.         it was an old compiler, and it didn't support ANSI C syntax or 
  1171.         ANSI C features.
  1172.  
  1173.     The SunSoft Catalyst CD #5 contains the binaries for the GNU C 
  1174.     compiler for Solaris 1.x and 2.x. You should get the latest
  1175.     version of GCC and compile it using this compiler. 
  1176.  
  1177.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1178.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1179.         full ANSI C environment, i.e. it doesn't necessarily include all
  1180.         the ANSI C include files or library routines); various other
  1181.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1182.  
  1183.         The Free Software Foundation's GCC also supports ANSI C syntax
  1184.         and ANSI C features. It can be FTP'ed in source form from many
  1185.         sites, and in binary form from some sites. 
  1186.  
  1187.     A compiled version of the latest GCC for SunOS 5.x is avaliable from 
  1188.     prep.ai.mit.edu. The directory containing these files is
  1189.  
  1190.         /pub/gnu/sparc-sun-solaris2
  1191.  
  1192.     You need to get the following files:
  1193.         
  1194.         gzip-binaries-1.x.x.tar    
  1195.         INSTALL.gcc
  1196.         gcc-binaries-2.x.x.tar.gz
  1197.  
  1198.     Note: You need the gzip binaries to ungzip the gcc binaries.
  1199.  
  1200.     After obtaining GCC, you will need to run fixincludes. 
  1201.     The INSTALL.gcc file will tell you how.
  1202.  
  1203.     Note: The following sites mirror the GNU software distribution
  1204.           from prep.ai.mit.edu:
  1205.  
  1206.         ASIA:         utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  1207.                     cair.kaist.ac.kr:/pub/gnu
  1208.         AUSTRALIA:     archie.oz.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  1209.         AFRICA:     ftp.sun.ac.za:/pub/gnu
  1210.         MIDDLE-EAST:     ftp.technion.ac.il:/pub/unsupported/gnu
  1211.         EUROPE:     irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu,
  1212.               ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  1213.               src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ugle.unit.no,
  1214.             ftp.denet.dk, ftp.informatik.rwth-aachen.de:/pub/gnu,
  1215.             ftp.informatik.tu-muenchen.de, ftp.eunet.ch, 
  1216.             nic.switch.ch:/mirror/gnu, nic.funet.fi:/pub/gnu,
  1217.             isy.liu.se, ftp.stacken.kth.se,
  1218.             ftp.luth.se:/pub/unix/gnu, archive.eu.net
  1219.            CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  1220.         USA:     wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu,
  1221.           ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu,
  1222.           col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  1223.           gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu
  1224.  
  1225.  
  1226.     You should check the site close to you before ftping to
  1227.     prep.
  1228.  
  1229.  
  1230. 42)    How do I change the time zone setting on my machine?
  1231.  
  1232.         In releases prior to SunOS 4.0, you will have to reconfigure
  1233.         your kernel, recompile it, install the new kernel, and reboot.
  1234.         See the documentation on kernel configuration.
  1235.  
  1236.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1237.         command with the "-l" flag, with the appropriate time zone
  1238.         setting as the argument.  For example, to set the time zone to
  1239.         US Eastern Time, do:
  1240.  
  1241.                 zic -l US/Eastern
  1242.  
  1243.         to set it to the proper setting for Great Britain and Eire, do:
  1244.  
  1245.                 zic -l GB-Eire
  1246.  
  1247.         and so on.
  1248.  
  1249.         You will then probably want to reboot your machine, in order to:
  1250.  
  1251.                 1) cause any daemons started before the time zone was
  1252.                    changed to restart, and pick up the new time zone;
  1253.  
  1254.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1255.                    binaries, old programs not converted to use the new
  1256.                    routines to convert local time to UNIX time, and
  1257.                    Calendar Manager.
  1258.  
  1259.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1260.         to the appropriate time zone file, but there's really no point
  1261.         in doing so when "zic -l" will do that for you.
  1262.  
  1263.         In Solaris 2.x, you do it the same way you do it on any other
  1264.         SVR4 system - you put a line that says
  1265.  
  1266.                 TZ=<time zone name>
  1267.  
  1268.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1269.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1270.         also uses, although not all SVR4 systems supply the time zone
  1271.         files for it; Solaris 2.0 does.
  1272.  
  1273.  
  1274. 43)    I'm getting messages that say one of the following:
  1275.          proc: table is full    and/or
  1276.             file: table is full    and/or
  1277.             dquot: table is full     and/or
  1278.             inode: table is full
  1279.          What do these errors mean, and how do I fix the problem?
  1280.  
  1281.         In SunOS releases prior to 5.0, many tables in the system are
  1282.         allocated once at system startup time, with a fixed size, and do
  1283.         not grow in size.  If the system needs more entries than are
  1284.         present in that table to perform some operation, it can't
  1285.         perform the operation, and it will log a message and return a
  1286.         failure indication.
  1287.  
  1288.         The sizes of the tables in question are based on the "maxusers"
  1289.         value in the configuration file for your kernel; to increase the
  1290.         size of the table, change the configuration file for your kernel
  1291.         to have a larger "maxusers" value, re-run "config" on that file,
  1292.         rebuild the kernel, install the new kernel, and reboot.
  1293.  
  1294.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1295.         that table is dynamically allocated; SunOS 5.0 should
  1296.         dynamically allocate entries in most if not all of those tables.
  1297.  
  1298.        I did that, and I'm still getting that message.  What do I do now?
  1299.  
  1300.         Presumably, then, either:
  1301.  
  1302.                 1) you didn't increase "maxusers" enough
  1303.  
  1304.         or
  1305.  
  1306.                 2) some process is consuming resources from the table in
  1307.                    question without bound.
  1308.  
  1309.  
  1310.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1311.           all available process slots(except for the last 5). 
  1312.  
  1313.           If you are running out of process slots you may want to 
  1314.           change the kernel parameter that controls the maximum number
  1315.           of per user processes. You can change this in the param.c
  1316.           in /sys/conf.common. You will need to change the following
  1317.           define:
  1318.  
  1319.             #define MAXUPRC (NPROC - 5)
  1320.  
  1321.           to something more reansable like
  1322.  
  1323.             #define MAXUPRC (NPROC - 5)/2
  1324.  
  1325.           After making this change you should re-config and re-build
  1326.           your kernel.
  1327.  
  1328.         The "proc" table has one entry for every process on the system;
  1329.         if it's overflowing, some process on the system may be creating
  1330.         new processes over and over again.  If you can, do a "ps -ax" to
  1331.         see what processes are on the system, and see if that gives any
  1332.         clues as to what process, if any, is spawning those other
  1333.         processes.
  1334.         
  1335.  
  1336.         The "file" table has one entry for every "active file
  1337.         descriptor" on the system; each time an "open", "dup", "socket",
  1338.         etc. call is made, a new "active file descriptor" is required.
  1339.         There's no way of finding out what process or processes are
  1340.         consuming file descriptors that's as convenient as "ps" can be
  1341.         for finding out what process or processes are spawning additional
  1342.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1343.         of "active file descriptors", but it's tricky for the novice
  1344.         user, programmer, or administrator to interpret the output of
  1345.         "pstat -f", and that output doesn't indicate which processes are
  1346.         using a given "active file descriptor".
  1347.  
  1348. 44)     Blank at present.
  1349.  
  1350. 45)     How do I run both OpenWindows and MIT X11R5?
  1351.  
  1352.     Note: OW2 is compatible with X11R3+, OW3 is compatible with X11R4.
  1353.  
  1354.     To get X11R5(or R4) applications to run under Openwindows you will
  1355.     need to set the appropriate LD_LIBRARY_PATH. 
  1356.  
  1357.         Assuming you installed the MIT libraries in
  1358.         /usr/lib and the OpenWindows libraries are in
  1359.         /usr/openwin/lib, set the following before you start the
  1360.         windowing system:
  1361.  
  1362.         MIT X11R4 environment
  1363.  
  1364.                 set path = (/usr/bin/X11 $path)
  1365.                 setenv LD_LIBRARY_PATH /usr/lib
  1366.  
  1367.        OpenWindows
  1368.  
  1369.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1370.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1371.  
  1372.         You can also run clients from one environment under a different
  1373.         server on a one command at a time basis.  This example runs a
  1374.  
  1375.          OpenWindows client under the MIT server:
  1376.  
  1377.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1378.  
  1379.  
  1380.     A better way to handle this(in the long run) is to re-compile 
  1381.     the X server clients to include a "hard" coded shared library
  1382.     search path. You will need to link the clients with -L
  1383.     option.  For example, if your X11 libraries are installed
  1384.     in /usr/local/lib/X11 you will link your application by
  1385.  
  1386.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1387.  
  1388.     By doing this to all applications you can eliminate the need
  1389.     to set the LD_LIBRARY_PATH. 
  1390.  
  1391.     For applications that you do not have source for you should
  1392.     write a shell script wrapper similar to the following:
  1393.  
  1394.     #!/bin/sh
  1395.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1396.     /usr/local/bin/X11/xterm.bin $*
  1397.     
  1398.  
  1399.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1400.           available from prep.ai.mit.edu. 
  1401.  
  1402.  
  1403.         The OpenWindows server has the ability to display PostScript that
  1404.         several of the OpenWindows applications require to run.  Sun's
  1405.         AnswerBook is an example that requires PostScript.  These clients
  1406.         will not run under the MIT server.   
  1407.  
  1408.     You can get a limited PostScript preview capability under 
  1409.     either server with GNU Ghostscript, a GNU "copyleft" package
  1410.     available from various ftp sites.  
  1411.  
  1412.     Two enhanced versions of Ghostscript are also available,
  1413.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1414.         These programs are currently available via anonymous ftp:
  1415.  
  1416.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1417.         GSPreview   is on ftp.x.org (18.24.0.12) in /contrib
  1418.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1419.  
  1420.  
  1421. 46)    Where do I find a "restricted" shell for SunOS?
  1422.  
  1423.     /usr/lib/rsh is a "restricted" Bourne shell.
  1424.  
  1425.         This "restricted" shell is easy to break out of; consider
  1426.         that most editors have a shell scape, for example. Building
  1427.         a window-dressing restricted environment is easy; building
  1428.         a real restricted environment is hard.
  1429.  
  1430.  
  1431. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1432.  
  1433.         Yes they will, with some restrictions. The most significant is
  1434.         that the binary in question must have been "dynamically linked."
  1435.         Otherwise, you will get the message
  1436.  
  1437.         Bad system call (core dumped)
  1438.  
  1439.         immediately when starting the 4.1.x binary on SunOS5.
  1440.  
  1441.     As of SunOS 5.3 "statically" linked binaries will now run
  1442.     in binary compatabilty mode.
  1443.  
  1444.         Finally, bear in mind that there is a performance overhead for
  1445.         this "binary emulation"; each system call happens twice,
  1446.         once to trap into the emulation mode and again to get from
  1447.         there into the UNIX kernel. 
  1448.  
  1449.  
  1450. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1451.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1452.     _get_applicationShellWidgetClass). What is the Problem?
  1453.  
  1454.     There are problems with the Xmu shared library as shipped from Sun.
  1455.  
  1456.     There are two "fixes". One is to get the Openwindows patches
  1457.     that apply to this problem and the other is to "statically" link
  1458.     the Xmu library into the executable.
  1459.  
  1460.     The patches you will need are as follows:
  1461.  
  1462.         Patch i.d.      Bug i.d.'s      O/S     Description
  1463.         ----------      -------------------------------------------------------
  1464.         100512-02       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1465.             1074766         Jumbo patch
  1466.  
  1467.         100573-03       1087332         4.1.x OpenWindows 3.0 undefined
  1468.                         symbols when using shared
  1469.                         libXmu.
  1470.  
  1471.     To "statically" link your executable with libXmu modify the
  1472.     compile line as follows:
  1473.  
  1474.           -Bstatic -lXmu -Bdynamic 
  1475.  
  1476.  
  1477. 49)    What is Solaris?
  1478.     
  1479.     Solaris consists of the following facilities:
  1480.  
  1481.         1) SunOS 
  1482.         2) Openwindows
  1483.         3) Openwindows deskset tools
  1484.         4) ONC networking products and services(which includes NFS
  1485.            and NIS)
  1486.  
  1487.     Solaris is not an operating system but a "complete" user
  1488.     environment.
  1489.  
  1490.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1491.     Windows, and DeskSet versions:
  1492.  
  1493.           Solaris         SunOS           Open Windows    DeskSet
  1494.           1.0             4.1.1           2.0             2.0
  1495.           1.0.1           4.1.2           2.0             2.0
  1496.           1.1             4.1.3           3.0             3.0
  1497.           2.0             5.0             3.0.1           3.0.1
  1498.           2.1             5.1             3.1             3.1
  1499.           2.2             5.2             3.2             3.2
  1500.  
  1501.  
  1502. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1503.  
  1504.     This message is generating by Sun's resolver libraries and
  1505.     it is caused by incorrectly configured Domain Name 
  1506.     Server(the server that the resolver libraries are querying
  1507.     not necessarly the local Domain Name Server).
  1508.  
  1509.     The Domain Name Server probably lacks a reverse map entry for 
  1510.     that particular host. 
  1511.  
  1512.     Since this "bug" is closely associated with using ypserv,
  1513.     Sun has produced a patch to "ypserv" (bug #1039839). 
  1514.     Sun supplied a patch 100141-01 to quiet it, but the 
  1515.     patched version appears to die silently at random times,
  1516.     so Sun now has a new patch, 100141-02. Do not install this
  1517.     patch unless you are really getting a lot of these messages.
  1518.  
  1519.  
  1520. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1521.     how do I repair it?
  1522.  
  1523.     One of the LEDs on the under side of the mouse has probably 
  1524.     "burnt" out.
  1525.  
  1526.     You can probably repair it yourself(if you can get a replacement 
  1527.     LED and you know how to use a Soldering Iron) by following
  1528.     a set of directions available from thor.ece.uc.edu. Get the
  1529.     file /pub/sun-faq/mouse.fix.
  1530.  
  1531.     Finally, you should try turning your mouse pad 90 degrees and
  1532.     see if that corrects the problem.
  1533.  
  1534.         Note: Also, you may have one of the bad mice that came with
  1535.           early SS-1 shipments.  The LED on the underside of the 
  1536.           mouse can fail.  Request a replacement from Sun.
  1537.     
  1538.  
  1539. 52)    After rebuilding the shared library libc it get some or all the 
  1540.     following undefined symbols: dlsym, dlopen, dlclose, mbstowcs_xccs,
  1541.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  1542.  
  1543.  
  1544.     If you have just installed a new shared library under 4.1.2 or
  1545.     greater you need to modify the Makefile for the shared libraries
  1546.     and re-install. You will need to change the following line
  1547.  
  1548.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1549.     to read 
  1550.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1551.  
  1552.     Note: You should change both such lines.
  1553.  
  1554.      Also, you may need to do a mv xccs.multibyte. xccs.multibyte.o
  1555.     to eliminate the  mbstowcs_xccs, mbtowc_xccs, wcstombs_xccs,
  1556.     or wctomb_xccs symbols errors.
  1557.  
  1558.     The above can occur under SunOS 4.1.1 if you have installed 
  1559.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1560.  
  1561.  
  1562. 53)    What does "No network locking on host" mean after upgrading to
  1563.     Solaris 2.0?
  1564.  
  1565.     Your SunOS 4.x(or above) machines are running an old version
  1566.     of rpc.lockd. You need to get and install patch number 
  1567.     100075-11 or greater to correct this problem.
  1568.  
  1569. 54)    Does Password Aging work with NIS(YP) ?
  1570.  
  1571.     Sun does not support password aging under NIS(OS version
  1572.     to 4.1.3). The rpc.yppasswdd needs to modified to make
  1573.     password aging work. 
  1574.  
  1575.     Password aging will only work under SunOS 5.3(Solaris2.3) 
  1576.     with NIS+.
  1577.  
  1578. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1579.     
  1580.     For some reason rpc.lockd can not talk to rpc.statd. 
  1581.  
  1582.     Check to see if rpc.statd is running. If rpc.statd
  1583.     is not running re-start it. If rpc.statd is running, 
  1584.     kill it and restart it. 
  1585.  
  1586.     To get rpc.statd to re-start you may need to
  1587.     remove the /etc/sm and /etc/sm.bak directories.
  1588.  
  1589. 56)    How do I join the Sun User Group(SUG)?
  1590.  
  1591.     Here is the information on joining SUG.
  1592.  
  1593.         Sun User Group, Inc.
  1594.         1330 Beacon Street, Suite 315
  1595.         Brookline, MA 02146
  1596.         USA
  1597.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1598.         office@sug.org 
  1599.  
  1600.     With your membership you get the following:
  1601.         
  1602.         *  Vendor Discounts
  1603.         *  Technical Conferences
  1604.         *  Software Distribution
  1605.         *  README Newsletter
  1606.         *  Annual Exhibits
  1607.         *  Local User Group Support
  1608.         *  Newsgroup comp.org.sug 
  1609.  
  1610.  
  1611. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  1612.  
  1613.     For SunOS4.1.x:
  1614.  
  1615.     To add more ptys you must install a new kernel. 
  1616.  
  1617.     The default number of "ptys" is  48.  To get more "ptys" 
  1618.     change the kernel config line "pseudo-device pty" to 
  1619.     "pseudo-device pty#" where '#" is the number of "ptys"
  1620.     you want. 
  1621.  
  1622.     Be warned the maximum number you can have is 256.
  1623.  
  1624.     You will need to run /dev/MAKEDEV pty[0-5] to create
  1625.     /dev/ entries.
  1626.  
  1627.     For SunOS5.x:
  1628.  
  1629.     In /etc/system, add the line:
  1630.  
  1631.             set pt_cnt=nnn     -- nnn can have a value up to 255.
  1632.     touch /reconfigure
  1633.     and reboot using 'init 6'.
  1634.  
  1635.     For BSD style ptys set npty in /etc/system to the desired 
  1636.     value(ie set npty=64).  You may need to make the ptys by
  1637.     hand and you will need to make likes from /dev to /devices for 
  1638.     these devices.  Finally, you will need to edit /etc/iu.ap to
  1639.     automatically push the appropriate streams compatibility modules
  1640.         onto the new devices. You need to replace the line reading
  1641.             "ptsl 0 15 ldterm ttcompat"
  1642.     with
  1643.             "ptsl 0 <NUM> ldterm ttcompat"
  1644.     where <NUM> was one less than the number of compatibility ptys you
  1645.     need.
  1646.  
  1647.  
  1648. 58)    Where are dump and restore under Solaris 2.x?
  1649.  
  1650.     dump is now called /usr/sbin/ufsdump
  1651.     restore is now called /usr/sbin/ufsrestore
  1652.  
  1653. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  1654.  
  1655.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  1656.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  1657.         patch 100713-01 or later.
  1658.  
  1659. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  1660.     under Openwindows 3.0?
  1661.  
  1662.         Don't do it with xmodmap, since that won't change the locking
  1663.         behaviour of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  1664.         There are two places where keys 119 (CapsLock) and 76 (Control)
  1665.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  1666.         The latter is most important, because that's where the
  1667.         "Pseudo-Lock" function (which controls the locking behaviour of
  1668.         the key) is defined.
  1669.  
  1670. 61)    Which Sun models run which versions of SunOS?
  1671.  
  1672.         Sun2: SunOS 4.0.3 or earlier.
  1673.         Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  1674.         Sun3: SunOS 4.1.1_U1 or earlier.
  1675.         4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  1676.         4/300 series: SunOS 4.0.3 or later.
  1677.         4/400 series: SunOS 4.1PSR_A or later.
  1678.         600 models 120, 140: SunOS 4.1.2 or later.
  1679.         600 model 41, 51: SunOS 4.1.3 or later.
  1680.         600 models 412, 512, 514: SunOS 5.1 or later.
  1681.         SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3c or later.
  1682.         SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  1683.         SPARCstation 10 models 20, 30, 41: SunOS 4.1.3 or later.
  1684.         SPARCstation 10 models 52, 54: SunOS 5.1 or later.
  1685.         SPARCclassic, SPARCstation LX: SunOS 4.1.3C or SunOS 5.1 or later.
  1686.     SPARCserver 1000, SPARCcenter 2000: SunOS 5.2 or later
  1687.  
  1688.     To be able to run 4.1.3 on the SPARCclassic you need to get
  1689.     SunOS 4.1.3 rev C from Sun. 
  1690.  
  1691.     Note: the final SunOS version for 4.1.3 is 4.1.3_U1 or Solaris1.1.1
  1692.           and supports the Classic and LX as well.
  1693.         
  1694.  
  1695.     SuperSPARC multi-processor machines are not supported in SunOS 4.1.x.
  1696.     You will need SunOS 5.1 or later.
  1697.  
  1698.         SunOS 5.0 only runs on SS1,1+,2,SLC,IPC,ELC,IPX.
  1699.  
  1700.         SunOS 5.1 runs on all Sun4s and SPARCstations, but the FPU's on
  1701.         the 4/100 and 4/200 series machines are disabled.
  1702.  
  1703. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  1704.  
  1705.         The problem produces output like the following:
  1706.  
  1707.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  1708.           DUMP: Date of last level 0 dump: the epoch
  1709.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  1710.           DUMP: mapping (Pass I) [regular files]
  1711.           DUMP: mapping (Pass II) [directories]
  1712.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  1713.           DUMP: Protocol to remote tape server botched (in rmtgets).
  1714.          rdump: Lost connection to remote host.
  1715.           DUMP: Bad return code from dump: 1
  1716.  
  1717.         This occurs when something in .cshrc on the remote machine prints
  1718.         something to stdout or stderr (eg. stty, echo). The rdump command
  1719.         doesn't expect this, and chokes. Other commands which use the rsh
  1720.         protocol (eg. rdist, rtar) may also be affected.
  1721.  
  1722.         The way to get around this is to add the following line near the
  1723.         beginning of .cshrc, before any command that might send something
  1724.         to stdout or stderr:
  1725.  
  1726.         if ( ! $?prompt ) exit
  1727.  
  1728.         This causes .cshrc to exit when prompt isn't set, which
  1729.         distinguishes between remote commands (eg. rdump, rsh) where these
  1730.         variables are not set, and interactive sessions (eg. rlogin) where
  1731.         they are.
  1732.  
  1733.  
  1734. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  1735.         
  1736.         SunOS 4.x          SunOS 5.x             
  1737.         Command            Equivalent               
  1738.         
  1739.         add_services       pkgadd                      
  1740.         arch               uname -m                  
  1741.                    Note: This returns the kernel architecture.
  1742.         bar                Not available. Use   
  1743.                            cpio -H bar to retrieve
  1744.                    4.x archives.
  1745.         
  1746.         biff -y            chmod o+x /dev/tty
  1747.         biff -n            chmod o-x /dev/tty
  1748.         cc                 Not available
  1749.         dbxtool            debugger
  1750.         devinfo           prtconf
  1751.         df                 df -k
  1752.         dkctl              Not available
  1753.         dkinfo             prtvtoc
  1754.         du                 du -k
  1755.         dump               /usr/sbin/ufsdump
  1756.         dumpfs             Not available
  1757.         etherfind          snoop
  1758.         exportfs           share
  1759.         extract_files      Not available
  1760.         extract_patch      Not available
  1761.         extract_unbundled  pkgadd
  1762.         fastboot           reboot or init 6
  1763.         fasthalt           init O
  1764.         hostid             sysdef -h
  1765.         hostname           uname -n
  1766.         intr               Not available
  1767.         leave              Use cron and at
  1768.         lint               Not available
  1769.         load                 pkgadd
  1770.         loadc                pkgadd
  1771.         load_package         Not available
  1772.         lpc                  lpadmin
  1773.         lpd                  lpsched
  1774.         lpq                  lpstat
  1775.         lpr                  lp
  1776.         lprm                 cancel
  1777.         lptest               Not available
  1778.         mach                 uname  -p
  1779.         modstat              modinfo
  1780.         mount                mount  -F <fstype> [options]
  1781.         mountall             mount -a
  1782.         mount_tfs            mount  -F <fstype>
  1783.         pax                  cpio
  1784.         paxcpio              cpio
  1785.         portmap              rpcbind
  1786.         printenv             env
  1787.         ps -a                ps -e
  1788.         ps -aux              ps -el
  1789.          Note: when ps is  invoked without the "-f" flag, the SV
  1790.              "ps" prints  only the first N characters of the name 
  1791.              of the program being run. You have to pass the "-f" 
  1792.              flag to get the full command line. For example, try
  1793.              ps -fe.
  1794.  
  1795.         pstat                sar
  1796.         pstat -s             swap -s
  1797.         rdump                /usr/sbin/ufsdump
  1798.         restore              /usr/sbin/ufsrestore
  1799.         rm_client            admintool
  1800.         rm_services          Not available
  1801.         rpc.etherd           Not available
  1802.         rpc.lockd          /usr/lib/nfs/lockd         
  1803.         rpc.mountd         /usr/lib/nfs/mountd        
  1804.         rpc.rexd           /usr/sbin/rpc.rexd
  1805.         rpc.rquotad        /usr/sbin/rpc.rquotad
  1806.         rpc.showfhd        Not available
  1807.         rpc.statd          /usr/lib/nfs/statd         
  1808.         rpc.user_agentd    Not available 
  1809.         rpc.yppasswdd      Not available 
  1810.         rpc.ypupdated      ypupdated     
  1811.         rrestore            /usr/sbin/ufsrestore    
  1812.         rusage             Not available 
  1813.         showmount          dfmounts 
  1814.         swapon                swap -a        
  1815.         sys-config       admintool
  1816.         umount -a        umountall         
  1817.         umount_tfs       umount -F <fstype>
  1818.         unload             pkgrm
  1819.         update             fsflush
  1820.         uptime            who -b
  1821.         users              who -q
  1822.         vipw               Not available
  1823.         wall               /usr/sbin/wall
  1824.         whereis            Not available
  1825.         whoami             id
  1826.         ypbatchupd         Not available
  1827.         yppasswd           Use nispasswd for NIS+
  1828.         ypserv             Not available
  1829.  
  1830.     Notes:  A NIS server is no longer available under Solaris2.x.
  1831.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  1832.         for useful programs and commands. Finally, some of
  1833.         missing commands are in the BSD Compatibility package.
  1834.  
  1835.     
  1836.     
  1837. 64)     How do I setup DNS on Solaris2.x?
  1838.  
  1839.     The "Setting up DNS clients" chapter of that manual is egregiously 
  1840.     out of date.  Yes, there's a bug filed against it.  
  1841.     The correct procedure is the following:
  1842.  
  1843.            Create a /etc/resolv.conf file.
  1844.  
  1845.            Change /etc/nsswitch.conf;  it's probably easiest 
  1846.     to start with the sample file "/etc/nsswitch.files" and change 
  1847.     the entry for "hosts" to the following:
  1848.  
  1849.                 hosts: files dns
  1850.  
  1851.            Processes that have already read /etc/nsswitch.conf won't see your
  1852.     changes until they're restarted.  If you care, the crude but effective
  1853.     approach is to reboot.
  1854.  
  1855. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  1856.  
  1857.     No it won't run 4.1.3. However, Sun will provide you with
  1858.     a copy Solaris1.1C(4.1.3C) which will allow you to run
  1859.     "4.1.3" on a LX or Classic.. 
  1860.  
  1861.     The cost is around $125 for the media and $100 for the RTU
  1862.     license.
  1863.  
  1864.     4.1.3C will be available sometime in August of 1993.
  1865.  
  1866.     Note: The last release of SunOS 4.1.x(SunOS 4.1.3_U1 or Solaris1.1.1)
  1867.           will run on all SunOS 4.1.x supported machines including
  1868.           the Classic and LX. See question 61 for more details.
  1869.  
  1870. 66)    I just restored my root partation and now I can not boot. What
  1871.     is wrong?
  1872.  
  1873.     You probably need to run installboot. Something like this
  1874.     should work.
  1875.  
  1876.         cd /usr/mdec 
  1877.         ./installboot -vlt /boot bootsd /dev/rsd0a
  1878.  
  1879. 67)    How do I disable/enable packet forwarding?
  1880.  
  1881.     Under 4.1 and above(does not include SunOS 5.x), 
  1882.     you can do this by using one of the following methods:
  1883.  
  1884.      adb -k -w /vmunix /dev/mem
  1885.     ip_forwarding?
  1886.     _ip_forwarding:
  1887.     _ip_forwarding: 0               = unimp         0x0
  1888.  
  1889.     ip_forwarding/w -1      <- changes in running kernel only!
  1890.     ip_forwarding?w -1      <- changes running kernel and disk image
  1891.  
  1892.     or 
  1893.  
  1894.     In your kernel configuration file, insert the following line:
  1895.  
  1896.     options "IPFORWARDING=-1"
  1897.  
  1898.     Note: The above example disables packet forwarding.
  1899.  
  1900.     Here is a list of IP forwarding options
  1901.     (from /usr/kvm/sys/netinet/in_proto.c) 
  1902.         ip_forwarding = -1  -- never forward; never change this value.
  1903.         ip_forwarding =  0  -- don't forward; set this value to 1 
  1904.                        when two interfaces are up.
  1905.             ip_forwarding =  1  -- always forward.
  1906.  
  1907.  
  1908. 68)    How do I disable the printing of banners pages?
  1909.     
  1910.     Under SunOS 4.x you need to do the following:
  1911.     
  1912.         Put :sh: in the /etc/printcap entry
  1913.         for that printer.
  1914.  
  1915.     For SPARCprinters you will need to edit the .param for that 
  1916.     printer. Under SunOS4.x you this file is located in the spool
  1917.     directory for that particular printer. Under SunOS5.x
  1918.     it is located under /etc/lp/printers/PRINTERNAME.
  1919.     Change the line BANNERPS=${DEFBANNER}; export BANNERPS
  1920.             to
  1921.             BANNERPS=; export BANNERPS
  1922.  
  1923.     Also, you may want to turn off Job Log printing. You can do
  1924.     this by changing the line PRINTJOBLOG=yes; export PRINTJOBLOG
  1925.             to
  1926.                   PRINTJOBLOG=no; export PRINTJOBLOG
  1927.  
  1928.  
  1929.     If you want to disable the banner pages permanently you
  1930.     will need to perform the following steps:
  1931.  
  1932.         1. cd /usr/lib/lp/model
  1933.         2. cp standard standard-nobanner
  1934.         3. Use your favorite editor to edit standard-nobanner.
  1935.            Change line 332 from:
  1936.                 nobanner="no"
  1937.            to:
  1938.                 nobanner="yes"
  1939.         4. lpadmin -p PRINTERNAME -m standard-nobanner
  1940.  
  1941.     For a large network you can make this easier by copying a 
  1942.     custom interface script at install time and doing the appropriate 
  1943.     lpadmin command.
  1944.  
  1945.         
  1946.  
  1947. 69)    How do I change my hostname?
  1948.  
  1949.     Under SunOS 4.x you need to do the following:
  1950.  
  1951.         Edit you /etc/hosts file and change your
  1952.         local hostname. To avoid problems during
  1953.         the transistion you may want to add this
  1954.         as an hostname alias.
  1955.  
  1956.         If you are running NIS you should change the
  1957.         /etc/hosts file on the master too.
  1958.  
  1959.         Change the hostname in /etc/hostname.xxx.
  1960.         Where xxx is the interface you want to change
  1961.         the address on.
  1962.         
  1963.  
  1964.     Under SunOS 5.x you need to the above plus
  1965.     change /etc/nodename. 
  1966.  
  1967.         Note: /etc/hostname.xxx should use the short
  1968.               name under SunOS 5.x or you will
  1969.               get warning messages when booting.
  1970.  
  1971. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  1972.  
  1973.     SunOS 4.x file        SunOS 5.x file
  1974.     /etc/fstab        /etc/vfstab
  1975.     /etc/exports        /etc/dfs/dfstab
  1976.     /etc/printcap        None
  1977.     /etc/fbtab         /etc/logindevperm   -- available in SunOS 5.3
  1978.     /etc/rc.local        /etc/rc3.d/S99local -- See note 1.
  1979.  
  1980.  
  1981.     Note 1:  Here is a template file for /etc/rc3.d/S99local.
  1982.  
  1983.     #!/bin/sh
  1984.  
  1985.     state=$1
  1986.     case $state in
  1987.     
  1988.     # Any applications or daemons you want to start.
  1989.     'start')
  1990.         echo "starting local apps"
  1991.         ;;
  1992.     # Any applications or daemons that need to be shutdown gracefully.
  1993.     'stop')
  1994.         echo "Stopping local apps"
  1995.         ;;
  1996.     esac
  1997.  
  1998.  
  1999.     You may need to put the "kill" script in /etc/rc2.d/K99local but it
  2000.     is not really required.
  2001.  
  2002.  
  2003. 71)    Where can I get the BSD print spooler for Solaris2.x?     
  2004.     You can get lpr-sol2.tar.gz or lpr-sol2.tar.Z
  2005.     from the following sites:
  2006.  
  2007.         sunok-wks.acs.ohio-state.edu:/pub/solaris2/src/lpr-sol2.tar.gz
  2008.         atlas.ce.washington.edu:/pub/lpr-sol2.tar.Z
  2009.         solomon.technet.sg:/pub/uploads/unix/lpr-sol2.tar.gz
  2010.  
  2011. 72)     Where is the Solaris2.x screenblank?
  2012.  
  2013.     You can either run the 4.1.x screenblank in compatabilty
  2014.     mode or you can compile you own from sources available
  2015.     on thor.ece.uc.edu. Get the file /pub/sun-faq/screenblank_21dec93.tar.Z. 
  2016. 73)     Is there a command to display the configuration of 
  2017.     currentily attached SCSI devices?
  2018.     
  2019.     SCSIinfo will do this. Get scsiinfo-2.0.shar from thor.ece.uc.edu
  2020.     in the /pub/sun-faq directory.
  2021.  
  2022.     Get scsiping from the same place as above.
  2023.  
  2024. 74)+    My printer will not print large files(over 1-megabyte), I 
  2025.     keep getting "file to big" errors. What do I do?
  2026.  
  2027.     Put the following line in your /etc/printcap file
  2028.     for the printer that has the problem.
  2029.  
  2030.     :mx#0:
  2031.  
  2032.     This basically allows for unlimited sizes of print jobs.
  2033.     Of course you are still limited by your amount of
  2034.     spool space.
  2035.  
  2036.     If you do not have access to /etc/printcap you can
  2037.     use the -s switch to lpr to use a "symlink" of the    
  2038.     file instead of copying the "real" file to the spool 
  2039.     directory.
  2040.     
  2041. 75)+    I keep getting "data corruption" when using NFS over a wan,
  2042.     or slip/ppp link. What do I do?  or
  2043.     Does anybody know how to enable UDP checksum on NFS?
  2044.  
  2045.     The usaully cause for this(at least for SunOS4.x) is not
  2046.     having udp checksumming turned on. 
  2047.  
  2048.     You can turn it at boot and while the machine is running 
  2049.     by using the following adb script:
  2050.     
  2051.     #!/bin/sh
  2052.     adb -w -k /vmunix /dev/mem << EOF
  2053.     udp_cksum?W1
  2054.     udp_cksum/W1
  2055.     EOF
  2056.  
  2057.     Install or call this script from rc.local.
  2058.  
  2059.     Or edit /usr/kvm/sys/netinet/in_proto.c and change the
  2060.     udp_cksum line (near the end from  udp_cksum = 0 to udp_cksum =1
  2061.     and reconfigure your kernel and reboot)
  2062.  
  2063.     Note: udp checksumming is turned on by default under SunOS5.x.
  2064.  
  2065. 76)+    Does anybody know how to enable UDP checksum on NFS?
  2066.  
  2067.     See the answer to question 75.
  2068.  
  2069. 77)+    Is there a mailing list for Wabi?
  2070.  
  2071.     No. Currentily, Sun has 2 E-mail addresses that
  2072.     you can get information about Wabi and the Windows
  2073.     Apps that Wabi supports. These addresses are as follows:
  2074.  
  2075.          wabi1.0-questions@east.sun.com    - FAQ List
  2076.         wabi1.0-apps@east.sun.com    - Application List
  2077.  
  2078.